(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vue')) :
  typeof define === 'function' && define.amd ? define(['vue'], factory) :
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.ProductComponent = factory(global.Vue));
})(this, (function (vue) { 'use strict';

  const _withScopeId = n => (vue.pushScopeId("data-v-91190e6c"),n=n(),vue.popScopeId(),n);
  const _hoisted_1 = { class: "product-component" };
  const _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/vue.createElementVNode("div", null, "产品组件", -1 /* HOISTED */));


  const __default__ = {
    name: 'ProductComponent'
  };

  var script = /*#__PURE__*/Object.assign(__default__, {
    props: {
    data: {
      type: Object,
      default: ()=>{
        return {
          type: 'A'
        };
      }
    }
  },
    setup(__props) {

  const props = __props;



  return (_ctx, _cache) => {
    return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
      _hoisted_2,
      vue.createElementVNode("div", null, "当前配置项：" + vue.toDisplayString(props.data.type), 1 /* TEXT */)
    ]))
  }
  }

  });

  function styleInject(css, ref) {
    if (ref === void 0) ref = {};
    var insertAt = ref.insertAt;
    if (typeof document === 'undefined') {
      return;
    }
    var head = document.head || document.getElementsByTagName('head')[0];
    var style = document.createElement('style');
    style.type = 'text/css';
    if (insertAt === 'top') {
      if (head.firstChild) {
        head.insertBefore(style, head.firstChild);
      } else {
        head.appendChild(style);
      }
    } else {
      head.appendChild(style);
    }
    if (style.styleSheet) {
      style.styleSheet.cssText = css;
    } else {
      style.appendChild(document.createTextNode(css));
    }
  }

  var css_248z = ".product-component[data-v-91190e6c] {\n  height: 100px;\n  background: #096AFF;\n}";
  styleInject(css_248z);

  script.__scopeId = "data-v-91190e6c";
  script.__file = "src/editor/ProductComponent/index.vue";

  return script;

}));
